﻿using System.ComponentModel.DataAnnotations;

namespace T.E.ERP.Read.API.Dtos.Dtos
{
    /// <summary>
    /// 采购部门
    /// </summary>
    public class PurchasingDtos
    {

        /// <summary>
        /// 采购部门id
        /// </summary>
        [Key]
        public int Purchasingid { get; set; }


        /// <summary>
        /// 采购部门名称
        /// </summary>
        public string PurchasingidName { get; set; }

        /// <summary>
        /// 下级部门
        /// </summary>
        public List<PurchasingDtos> Children { get; set; }
    }
}
